package com.dengyafei.service;

import com.dengyafei.bean.AppointmentEntity;
import com.dengyafei.domin.vo.AppointmentAddVO;
import com.dengyafei.domin.vo.AppointmentCancelVO;
import com.dengyafei.domin.vo.AppointmentSearchVO;
import com.dengyafei.domin.vo.AppointmentSendVO;

import java.util.List;

/**
 * @author 邓亚非
 */
public interface AppointmentService {

    Integer insertOne(AppointmentAddVO appointmentAddVO);

    List<AppointmentEntity> queryByHid();

    List<AppointmentEntity> queryByHidAndParams(AppointmentSearchVO appointmentSearchVO);

    Boolean send(AppointmentSendVO appointmentSendVO);

    List<AppointmentEntity> queryByGid();

    Integer cancel(AppointmentCancelVO appointmentCancelVO);
}
